export const schedule = [
  /*查询排班*/
  {
    path: '/time/schedule/getScheInWeek.do',
    data: {
      "data": {
        "pageInfo": {
          "Rrecords": [{
            "employeeId": 1,
            "name": "@name",
            "imgUrl": "",
            "schedules": {
              "2017-04-05": [{
                "scheduleId": 51764,
                //"scheDateView": "2017-03-31",
                "startTimeView": "@now('yyyy-MM-dd')  09:30",
                "endTimeView": "@now('yyyy-MM-dd') 14:50",
                "scheTitle": "@string",
                "color": "@color",
                "scheRepeatId": '@integer(10000000)',
                "isRepeat": 0,	//是否重复排班，0：否，1：是
              },
              {
                "scheduleId": 51764,
                //"scheDateView": "2017-03-31",
                "startTimeView": "@now('yyyy-MM-dd')  09:30",
                "endTimeView": "@now('yyyy-MM-dd') 14:50",
                "scheTitle": "@string",
                "color": "@color",
                "scheRepeatId": '@integer(10000000)',
                "isRepeat": 0,	//是否重复排班，0：否，1：是
              }]
            }
          },
            {
              "employeeId": 1,
              "name": "@name",
              "imgUrl": "",
              "schedules": {
                "2017-04-07": [{
                  "scheduleId": 51764,
                  //"scheDateView": "2017-03-31",
                  "startTimeView": "@now('yyyy-MM-dd')  03:30",
                  "endTimeView": "@now('yyyy-MM-dd')  11:50",
                  "scheTitle": "@string",
                  "color": "@color",
                  "scheRepeatId": '@integer(10000000)',
                  "isRepeat": 0,	//是否重复排班，0：否，1：是
                },
                  {
                    "scheduleId": 51764,
                    //"scheDateView": "2017-03-31",
                    "startTimeView": "@now('yyyy-MM-dd')  17:30",
                    "endTimeView": "@now('yyyy-MM-dd')  22:50",
                    "scheTitle": "@string",
                    "color": "@color",
                    "scheRepeatId": '@integer(10000000)',
                    "isRepeat": 0,	//是否重复排班，0：否，1：是
                  }]
              }
            },
            {
              "employeeId": 1,
              "name": "@name",
              "imgUrl": "",
              "schedules": {
                "2017-04-05": [{
                  "scheduleId": 51764,
                  //"scheDateView": "2017-03-31",
                  "startTimeView": "@now('yyyy-MM-dd')  11:30",
                  "endTimeView": "@now('yyyy-MM-dd')  22:50",
                  "scheTitle": "@string",
                  "color": "@color",
                  "scheRepeatId": '@integer(10000000)',
                  "isRepeat": 0,	//是否重复排班，0：否，1：是
                }]
              }
            }],
          page: 1,
          pageSize: 123,
          count: 20,
          start: 1,
          limit: 1,
          actionType: 123
        },
        "publishedOfScheIds": "1,2,3,4", //需要发布的草稿排班id
        "numPublishScheIds": 5, //5个草稿排班需要发布
      },
      "success": true,
      "code": "200",
      "message": "success"
    }
  },
  /*
  * /time/schedule/getScheOfMonth
  * 请求参数：
  * @param startDate
  * @param endDate
  * */
  {
    path: '/time/schedule/getScheOfMonth',
    data: {
      "data": {
        "publishedOfScheIds": "1,2,3,4", //需要发布的草稿排班id
        "numPublishScheIds": 5, //5个草稿排班需要发布
        "2017-04-05": [
          {
            "employeeId": 1,
            "name": "russell",
            "scheduleId": 51764,
            //	"scheDateView": "2017-05-18 09:30",
            "startTimeView": "2017-05-18 18:30",
            "endTimeView": "2017-05-18 09:30",
            "scheTitle": "测试内容oh5d",
            "color": "@color",
            "scheRepeatId": 62644,
            "isRepeat": 0,	//是否重复排班，0：否，1：是
            "isPublished": 0	// 是否已经发布，0：未发布，1：已发布
          },
          {
            "employeeId": 1,
            "name": "russell",
            "scheduleId": 51764,
            //	"scheDateView": "2017-05-18 09:30",
            "startTimeView": "2017-05-18 18:30",
            "endTimeView": "2017-05-18 09:30",
            "scheTitle": "测试内容oh5d",
            "color": "@color",
            "scheRepeatId": 62644,
            "isRepeat": 0,	//是否重复排班，0：否，1：是
            "isPublished": 0	// 是否已经发布，0：未发布，1：已发布
          }
          ],
        "2017-04-08": [
          {
            "employeeId": 1,
            "name": "russell",
            "scheduleId": 51764,
            "startTimeView": "2017-05-18 09:30",
            "endTimeView": "2017-05-18 09:30",
            "scheTitle": "测试内容oh5d",
            "color": "@color",
            "scheRepeatId": 62644,
          }],
      },
      "success": true,
      "code": "200",
      "message": "success"
    }
  }
]
